/**
 * Copyright (c) 2018 人人开源 All rights reserved.
 *
 * https://www.renren.io
 *
 * 版权所有，侵权必究！
 */

package com.evaluationSystem.excel;

import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * 用户管理
 *
 * @author Mark sunlightcs@gmail.com
 * @since 1.0.0
 */
@Data
public class SysUserExcel2 {
    @Excel(name = "用户名", width = 20)
    private String username;
    @Excel(name = "姓名")
    private String realName;
    @Excel(name = "密码", width = 20)
    private String password;
    @Excel(name = "工号")
    private String workNo;
    @Excel(name = "性别", replace = {"男_0", "女_1", "保密_2"})
    private Integer gender;
    @Excel(name = "邮箱", width = 20)
    private String email;
    @Excel(name = "手机号", width = 20)
    private String mobile;
    @Excel(name = "部门名称", width = 20)
    private String deptName;
    @Excel(name = "状态", replace = {"停用_0", "正常_1"})
    private Integer status;
    @Excel(name = "备注", width = 20)
    private String remark;
    @Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    private Date createDate;

}
